<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/common/common.jspf" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>test</title>

</head>
<script type="text/javascript">
    var oldWin=parent.$("iframe[title='目录管理']").get(0).contentWindow;
    //关闭对话窗口
    function getCloseModuleWin(){
        parent.$('#win').window('close');
        oldWin.$('#dg').datagrid("reload");
    }
</script>
<body>
<form id="ff" action="${proPath}/catalog/cataadd.action" method="post">
    <div>
        <label >目录序号:</label>
        <input class="easyui-validatebox" type="text" name="id" />
    </div>
    <div>
        <label >目录名:</label>
        <input class="easyui-validatebox" type="text" name="catagoryName" />
    </div>
    <div>
        <label  >子目录:</label>
        <input class="easyui-validatebox" type="text" name="_parentId" />
    </div>
    <div>
        <label  >目录链接:</label>
        <input class="easyui-validatebox" type="text" name="catagoryUrl" />
    </div>
    <div>
        <label  >目录权限:</label>
        <input class="easyui-validatebox" type="text" name="catagoryRight" />
    </div>
    <div>
        <label  >目录类型:</label>
        <select class="easyui-combobox" name="catagoryType" />
        <c:forEach items="${applicationScope.sysParamMap.catagory_type}" var="sp">
            <option value="${sp.key}">${sp.value}</option>
        </c:forEach>
        </select>
    </div>
    <div>
        <label  >目录状态:</label>
        <select class="easyui-combobox" name="catagoryStatus" />
        <c:forEach items="${applicationScope.sysParamMap.catagory_status}" var="sp">
            <option value="${sp.key}">${sp.value}</option>
        </c:forEach>
        </select>
    </div>
    <input type="submit" value="确定" onclick="getCloseModuleWin()">
</form>
</body>
</html>